{% extends "base.html" %}


{% block title %}
部门管理-编辑
{% endblock %}

{% block label %}
部门管理-编辑
{% endblock %}


{% block contenter %}
<div class="row">
    <form method="post">
        <input type="hidden" name="csrf_token"
               value="IjIyZjA5NzY2MjI4MGZiMDc3OGQ0ZTg2ZTdiOGZkYTM5NTExNzFkODQi.XrNoYg.UzNFWq6nIJlCXT4Cn8aETuDtRHU">
        <input type="hidden" name="department_id" value="1">
        <div class="form-group">
            <label class="control-label">部门名称：</label>
            <input class="form-control" type="text" name="name" value="{{ department.d_name }}">
        </div>
        <div class="form-group">
            <label class="control-label">部门描述：</label>
            <textarea class="form-control" name="description">{{ department.d_dec }}</textarea>
        </div>
        <div class="form-group">
            <button class="btn btn-primary btn-block">提交</button>
        </div>
    </form>
</div>
{% endblock %}